package org.misalen.web.restful.util;

import org.json.JSONException;
import org.json.JSONObject;

public class JSONUtil {

	public static JSONObject putObj(JSONObject filter, String key, Object value) {
		try {
			filter.put(key, value);
			return filter;
		} catch (JSONException e) {
			return filter;
		}
	}

}
